import request from '@/utils/request'

// 查询设计师和用户
export function getuser(username, currentPage, pagesizes) {
  return request({
    url: '/buser',
    method: 'get',
    params: { username, currentPage, pagesizes }
  })
}

export function deleteuser(userId) {
  return request({
    url: `/buser/${userId}`,
    method: 'delete'
  })
}
// 品牌商认证
export function authBrand(userBrand) {
  return request({
    url: '/buser/auth',
    method: 'post',
    data: userBrand
  })
}
